package cac.fenjian.resource.backReceive.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface BackReceiveDao {

    //查询MES退库的交接单
    public Page<HashMap> searchBackMaterial(@Param("bean") Map map);

    public List<HashMap> searchBackMaterialByBarcode(String barcode);

    //退库接收查询func
    public HashMap searchWmsDeliveryId(@Param("map") Map map);

    //退库接收改变接收状态
    public int changeBackType(String barcode, String account,int returnQty,String IP,String id,String status);

    //退库接收生成入箱数据
    int insertReceDetail(String id);

}
